<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<%@ include file="/taglibs.jsp"%>
<script type="text/javascript" charset="UTF-8" src="/js/jquery-ui-1.7.2.custom.min.js"></script>
<link rel="stylesheet" type="text/css" href="/css/jquery-ui-1.7.2.custom.css"/>
<script type="text/javascript">
<!--
	$().ready( function() {
		// Tabs
	 //	$('#tabs').tabs(); 
	});
//-->
</script>
<h1>行销活动管理</h1>
<table class="tb-data" width="100%">
	<tr>
		<th>活动编号</th>
		<td><fmt:formatNumber pattern="0000" value="${campaign.id}"/></td>
	</tr>
	<tr>		
		<th>活动名称</th>
		<td>${campaign.campaignName}</td>
	</tr>
	<tr>		
		<th>活动说明</th>
		<td>${campaign.campaignDesc}</td>
	</tr>
	<tr>
		<th>活动类型</th>
		<td>${campaign.campaignType}</td>
	</tr>
	<tr>		
		<th>活动类型设定值</th>
		<td>${campaign.campaignTypeExtension}</td>
	</tr>
	<tr>
		<th>活动起始日期时间</th>
		<td><fmt:formatDate value="${campaign.startDateTime}" pattern="yyyy/MM/dd HH:mm"/></td>
	</tr>
	<tr>
		<th>活动结束日期时间</th>
		<td><fmt:formatDate value="${campaign.endDateTime}" pattern="yyyy/MM/dd HH:mm"/></td>
	</tr>
	<tr>		
		<th>适用会员等级</th>
		<td>${campaign.allowMemberRank}</td>
	</tr>
	<tr>
		<th>适用时机</th>
		<td>${campaign.displayTiming}</td>
	</tr>
	<tr>
		<th>适用范围</th>
		<td>${campaign.applyRange}</td>
	</tr>
	<tr>
		<th>适用范围设定值</th>
		<td>${campaign.applyRangeExtension}</td>
	</tr>
	<tr>
		<th>最低订单金额</th>
		<td>${campaign.minOrderAmount}</td>
	</tr>
	<tr>
		<th>最高订单金额</th>
		<td>${campaign.maxOrderAmount}</td>
	</tr>
	<tr>
		<th>搭售范围型态</th>
		<td>${campaign.addonType}</td>
	</tr>		
	<tr>
		<th>搭售范围型态设定值</th>
		<td>${campaign.addonTypeExtension}</td>
	</tr>		
	<tr>
		<th>启用否？</th>
		<td><c:if test="${campaign.enable eq 'Y'}">是</c:if><c:if test="${campaign.enable eq 'N'}">否</c:if></td>
	</tr>		
	<tr>
		<th>备注</th>
		<td>${campaign.memo}</td>
	</tr>		
</table>
<p></p>

<p></p>
<div class="f-link">
	<a href="list.do">回活动查询页</a>
	<a href="edit.do?idParam=${campaign.id}">修改活动资料</a>
</div>